package com.athuahua.spzx.service;

import com.athuahua.spzx.vo.ProductSkuPageVo;
import com.athuahua.spzx.entity.UserBrowseHistory;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author huahua
* @description 针对表【user_browse_history(用户浏览记录表)】的数据库操作Service
* @createDate 2024-08-26 18:27:28
*/
public interface UserBrowseHistoryService extends IService<UserBrowseHistory> {

    /**
     * 分页查询用户浏览记录
     * @param page
     * @param size
     * @return
     */
    ProductSkuPageVo findUserBrowseHistoryPage(Integer page, Integer size);

    /**
     * 保存用户浏览记录
     * @param skuId
     */
    void saveUserBrowseHistory(Long skuId);
}
